package ar.fi.uba.fallas2.business.factories;

import java.sql.ResultSet;
import java.sql.SQLException;

import ar.fi.uba.fallas2.business.*;

public class QuestionFactory {
	public static Question create(ResultSet rs) throws SQLException {
		Question q = new Question(rs.getInt(1));
		q.setQuestion(rs.getString(2));
		return q;
	}
}
